package com.wl.util;

import com.wl.util.SpringUtil;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;

public class RedisTemplateUtils {

    public static void setHash(String hashCode, String key, String value){
        JedisPool jedisPool = (JedisPool) SpringUtil.getBean("jedisPool");
        Jedis jedis = jedisPool.getResource();
        jedis.hset(hashCode,key,value );
    }
}
